<ul id="coll-{$page}">
<volist name="foods" id="food" key="k">
	<li>
		<span class="cbmitem" name="{$food.name}">
			<input class="cbmitem-input" type="checkbox" name="foods[{$food.foodid}]" value="{$food.foodid}" data="{$food.foodid}" <if condition="$ofoods[$food['foodid']] neq null">checked="checked"</if>>{$food.name}:
		</span>
		<input type="hidden" name="foods[{$food.foodid}][isChs]" <if condition="$ofoods[$food['foodid']] neq null">value="1"<else/>value="0"</if> >
		<input type="hidden" name="foods[{$food.foodid}][name]" value="{$food.name}">
		<span class="optsitem" name="{$food.name}-opt">
			<label class="poptitem">默选<input type="checkbox" name="foods[{$food.foodid}][defChs]" <if condition="$ofoods[$food['foodid']] neq null"><if condition="$ofoods[$food['foodid']]['defchs'] eq 1">checked="checked" value="1"<else/>value="0"</if><else/>checked="checked" value="1" disabled="false"</if>>&nbsp;&nbsp;</label>
			<label class="poptitem">必选<input type="checkbox" name="foods[{$food.foodid}][reqChs]" value="1" <if condition="$ofoods[$food['foodid']] neq null"><if condition="$ofoods[$food['foodid']]['reqchs'] eq 1">checked="checked" value="1"<else/>value="0"</if><else/>disabled="false" value="1"</if>>&nbsp;&nbsp;</label>
			<!--label class="poptitem">分值<input type="text" name="foods[{$food.foodid}][cicredit]" <if condition="$ofoods[$food['foodid']] neq null">value="{$ofoods[$food['foodid']]['credit']}"<else/>value="{$food.credit}"</if> class="poptvalue" <if condition="$ofoods[$food['foodid']] eq null">disabled="disabled"</if>></label-->
			<label class="poptitem">￥<input type="text" name="foods[{$food.foodid}][price]" <if condition="$ofoods[$food['foodid']] neq null">value="{$ofoods[$food['foodid']]['price']}"<else/>value="{$food.price}"</if> class="poptvalue" <if condition="$ofoods[$food['foodid']] eq null">disabled="disabled"</if> style="width:40px;"></label>
		</span>
	</li>
</volist>
</ul>
